package com.xxgc.eow.service.impl;

import com.xxgc.eow.entity.Title;
import com.xxgc.eow.mapper.TitleMapper;
import com.xxgc.eow.service.ITitleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 文章话题 服务实现类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-21
 */
@Service
public class TitleServiceImpl extends ServiceImpl<TitleMapper, Title> implements ITitleService {

    @Resource
    private TitleMapper titleMapper;

    @Override
    public Title selectByTitleName(String titleName) {
        return titleMapper.selectByTitleName(titleName);
    }


}
